package com.woniuxy.vuecli.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author author
 * @Create 2024-01-15 15:13
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Permission {
    private Integer pid;
    private String pname;
    private String path;
    //上级菜单的mid
    private Integer ppid;
    //前端展示菜单，需要当前菜单所有子菜单的集合,一对多
    private List<Permission> children;
}
